﻿@model MaterialSharingPlatform.Services.UserBaseInfo
<ul>
    <li class="emall"  onclick="window.location='Mails'"></li>

    <li class="info">
        <a href="#" class="photo" >
            <img src="@Model.Header"   onclick="window.location='BaseInfo'"/></a>
        <div class="user">
            <div class="dropdown-toggle pull-right" data-toggle="dropdown">
                <a data-toggle="dropdown" class="btn  btn-inverse login-btn" id="drop3" href="#">
                    <div class="info hidden-phone">
                        <span class="name" >@Model.LoginName</span><br />
                        <span class="com">@Model.Name</span>
                    </div>
                </a>
                <ul class="dropdown-menu" aria-labelledby="drop3" role="menu" id="mainMenu">
                    @foreach (var genre in Model.Menus)
                    { <li>
                        <a href="@genre.SAction" >@genre.SMenuName</a>
                    </li>
                    }


                    <li class="divider"></li>
                    <li>
                        <a tabindex="-1" href="#logout">
                            <button class="btn btn-danger">
                                <i class="icon-signout"></i>注销登录</button>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </li>
</ul>
